﻿using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;

namespace Advanced_Terrain
{
    public class SkyGameComponent : DrawableGameComponent
    {

        public SkyGameComponent(Game game) : base(game) {

        }

        public override void Draw(GameTime gameTime)
        {
            if (Visible)
            {
                Game1.MySky.Draw();
            }
            base.Draw(gameTime);
        }
    }
}
